/**
 * FileFind - ftp/shares indexing and search php engine
 * Module: common
 * Description: Common classes
 * Copyright (c) 2003-2010 Rage Steel, www.gt2.ru
 */
package ru.ffind.common.model;

import java.util.Date;

/**
 * Abstract interface to host, that stored in the database.
 *
 * @author Rage Steel
 */
public interface Host {

	Integer getId();

	void setId(Integer id);

	HostType getType();

	void setType(HostType type);

	String getName();

	void setName(String name);

	Integer getIp();

	void setIp(Integer ip);

	Integer getPort();

	void setPort(Integer port);

	String getLogin();

	void setLogin(String login);

	String getPass();

	void setPass(String pass);

	String getOwner();

	void setOwner(String owner);

	Integer getOwnerUserId();

	void setOwnerUserId(Integer ownerUserId);

	Integer getOwnerTopic();

	void setOwnerTopic(Integer ownerTopic);

	String getOwnerUrl();

	void setOwnerUrl(String ownerUrl);

	String getDescription();

	void setDescription(String description);

	Date getDateAdd();

	void setDateAdd(Date dateAdd);

	Integer getOpt();

	void setOpt(Integer opt);

	Integer getStatus();

	void setStatus(Integer status);

	Integer getLockPid();

	void setLockPid(Integer lockPid);

	Date getLockDateTime();

	void setLockDateTime(Date lockDateTime);

	Integer getRootDirId();

	void setRootDirId(Integer rootDirId);

	Integer getConnErr();

	void setConnErr(Integer connErr);

	Date getConnOk();

	void setConnOk(Date connOk);

	Date getConnLast();

	void setConnLast(Date connLast);

	Date getCrawlLast();

	void setCrawlLast(Date crawlLast);

	String getResumePath();

	void setResumePath(String resumePath);

}